/* pages/index/index.wxss */
.header{
  width: 100vw;
  height: 90rpx;
  padding:0 44rpx;
  padding-bottom: 30rpx;
  border-bottom: 2rpx solid #F0F0F0;

  display: flex;
  align-items: center;
  position: relative;
}
.header-item-center{
  position: absolute;
  top: 50%;
  transform: translate(0,-50%);
}
.my-dev{
  left: 44rpx;
}
.header image:first-child{
  width: 38rpx;
  height: 36rpx;
}
.header image:last-child{
  width: 14rpx;
  height: 46rpx;
}
.header .dev-name{
  left: 116rpx;
  font-size: 40rpx;
  font-weight: bold;
  margin-left: 36rpx;
}
.header .add-dev{
 right: 40rpx;

  width: 140rpx;
  height: 48rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  border:1px solid #f5736e;
  border-radius: 40rpx;
  color: #f5736e;
  font-size: 24rpx;
}
.header .more{
  right: 44rpx;
}

.dev-status{
  text-align: center;
  font-size: 24rpx;
  padding: 22rpx;
}
.dev-status >view:last-child{
  color: #808080;
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-card{
  margin:0 44rpx;
  border-radius: 20rpx;
  background-color: #f5f5f5;
}
.my-voice{
  padding: 36rpx 76rpx;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.voice-btn{
  width: 216rpx;
  height: 88rpx;
  color: #000;
}
.my-voice .voice-btn:first-child image{
  width: 42rpx;
  height: 50rpx;
  margin-right: 20rpx;
}
.my-voice .voice-btn:last-child image{
  width: 52rpx;
  height: 52rpx;
  margin-right: 6rpx;
}
.my-mode{
  padding: 24rpx 76rpx;
  margin-top: 32rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mode-btn{
  width: 200rpx;
  height: 72rpx;
}
.mode-box{
  margin-top: 32rpx;
  margin-bottom: 32rpx;
  height: calc(100vh - 650rpx);

  padding:44rpx 34rpx;
  overflow-y: auto;
}

.mode-item{
  display: flex;
  align-items: center;
  border-radius: 16rpx;
  height: 140rpx;
  position: relative;
  border-radius: 100px;
}
.mode-icon image{
  width: 140rpx;
  height: 140rpx;
  margin-top: 22rpx;
}
.mode-option{
  position: absolute;
  top: 50%;
  right: 40rpx;

  transform: translate(0,-50%);
}
.mode-option image{
  margin-top: 10rpx;
  width: 80rpx;
  height: 80rpx;
}
.mode-name{
  margin-left: 12rpx;
}
.mode-item:not(:first-child){
  margin-top: 44rpx;
}
.mode-item:last-child{
  margin-bottom: 70rpx;
}

.self-mode{
  width: 144rpx;
  height: 144rpx;
  
  padding-left: 18rpx;
  padding-right: 28rpx;

  display: flex;
  justify-content: center;
  align-items:center;
}
.self-mode >view{
  flex-shrink: 0;
  width: 100rpx;
  height: 100rpx;
  border-radius: 110rpx;
  border: 10rpx solid #fff;
 
  display: flex;
  justify-content: center;
  align-items:center;
}
.mode-item .option-mask{
  display: none;
  border-radius: 100px;
}
.mode-item-active .option-mask{
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(229, 229, 229, 0.5);
}
.option-mask >view{
  position: absolute;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-100%);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-size: 32rpx;

  width: 180rpx;
  height: 252rpx;
  background-color: #fff;
  border-radius: 16rpx;
  overflow: hidden;
  box-shadow: 0px 8px 30px 0px #00000019;
}
.option-mask >view >view{
  height: 33.33%;
  padding-left: 28rpx;

}
.hover-btn{
  background-color: #E6E6E6;
}
.battery-box{
  margin: 0 5rpx;
  margin-right: 10rpx;
}